Adding a dynamic way to include arbitrary dependencies of Wagtail#45
Adding a dynamic way to include arbitrary dependencies of Wagtail#45
Conversation
|
Hey @saevarom, thank you for this! A few things:
diff --git a/.dockerignore b/.dockerignore
index 4b67e1f..44c04d0 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -8,3 +8,8 @@
**/Vagrantfile
**/.devcontainer
**/.vscode
+**/.tox
+**/build/
+**/dist/
+**/venv/
+**/.venv/in order to avoid copying a couple of GB of context because of package tox envs or venvs |
|
Thanks! Regarding 1. and 2. Did you do a Regarding 3, we definitely should augment the |
|
I did So this would happen even if one were to do this manually, or alter the Dockerfile to directly install the deps. Augmenting 🌟 |
|
Just realised I also have diff --git a/docker-compose.yml b/docker-compose.yml
index 63e6618..346c229 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -13,6 +13,7 @@ services:
restart: "no"
volumes:
- ./wagtail:/code/wagtail:delegated,rw
+ - ./libs:/code/libs:delegated,rw
- ./bakerydemo:/code/bakerydemo:delegated,rw
- node_modules:/code/wagtail/node_modules/
ports: |
Fixes #4